package com.danbay.cloud.device.entity.electricmeter;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用于记录上报的电量数据
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_em_record_quantity")
public class EmRecordQuantity {

    /**
     * yyyyMMddHHmmss时间戳
     */
    @TableId
    private Long reportTime;

    @TableId
    private String deviceId;

    private Double meterCount;

    private Date addTime;

}
